package com.tengju.motivation.infrastructure.repository.performance.convert;

import com.tengju.motivation.domain.model.performance.PerformanceObjectiveTotal;
import com.tengju.motivation.infrastructure.persistence.mybatis.dataobject.PerformanceObjectiveTotalDO;

/**
 * @author: 李大仙
 * @date: 2021/7/26 2:55 下午
 */
public class PerformanceObjectiveTotalConvert {
    public static PerformanceObjectiveTotal convert(PerformanceObjectiveTotalDO performanceObjectiveTotalDO) {
        return new PerformanceObjectiveTotal(
                performanceObjectiveTotalDO.getKey(),
                performanceObjectiveTotalDO.getValue());
    }
}
